package pkg

import (
	"fmt"
	"github.com/Baidu-AIP/golang-sdk/aip/censor"
	"video-srv/basic/config"
)

func BaiDuYun(text string) {
	client := censor.NewCloudClient(config.AppCfg.BaiDuYun.Ak, config.AppCfg.BaiDuYun.Sk)
	res := client.TextCensor("审核文字")
	fmt.Println(res)
}
